package cn.lhjl.day04.bankserve;

public class Account {
    private String code;
    private String pwd;
    private double moneyNum;

    public Account() {
    }

    public Account(String code, String pwd, double moneyNum) {
        this.code = code;
        this.pwd = pwd;
        this.moneyNum = moneyNum;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public double getMoneyNum() {
        return moneyNum;
    }

    public void setMoneyNum(double moneyNum) {
        this.moneyNum = moneyNum;
    }

    @Override
    public String toString() {
        return "Account{" +
                "code='" + code + '\'' +
                ", pwd='" + pwd + '\'' +
                ", moneyNum=" + moneyNum +
                '}';
    }
}
